From: Jasper St. Pierre Date: Mon, 23 Jul 2012 01:23:36 +0000 (-0300) Subject: util: Fix number of parameters passed to spawn_sync X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6273 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fd87468e36b2c5646f06b9adde053ab26a82dc4d;p=gnome-shell.git util: Fix number of parameters passed to spawn_sync We passed one too many https://bugzilla.gnome.org/show_bug.cgi?id=680426 --- diff --git a/js/misc/util.js b/js/misc/util.js index 1daac1230..2f755cf96 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -150,7 +150,7 @@ function killall(processName) { // whatever... let argv = ['pkill', '-f', '^([^ ]*/)?' + processName + '($| )']; - GLib.spawn_sync(null, argv, null, GLib.SpawnFlags.SEARCH_PATH, null, null); + GLib.spawn_sync(null, argv, null, GLib.SpawnFlags.SEARCH_PATH, null); // It might be useful to return success/failure, but we'd need // a wrapper around WIFEXITED and WEXITSTATUS. Since none of // the current callers care, we don't bother.